Generate Xcode Project
Once the Vapor app has been created, you may generate the Xcode project.
In terminal, type the command:
vapor xcode -y
The -y
only means “open the project in Xcode after creating it”.
Vapor toolbox mimics the directory structure into Xcode project.
So if you add a new directory and place the files there, there will be corresponding groups in Xcode project.
The best practice is to
- Exit Xcode
- Change your directory structure, add files
- Generate Xcode project
Prev: Make new Vapor App
Next: Install Docker